
using System.IO;

using UnityEngine;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;

public class MapLoad : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        initMap();
    }

    private void initMap()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void write()
    {
        Serializer serializer = new Serializer();
        serializer.Serialize(new StringWriter(), "");
    }
    public void read()
    {
        IDeserializer serializer = new DeserializerBuilder()
            .WithNamingConvention(CamelCaseNamingConvention.Instance)
            .Build();
        serializer.Deserialize<Object>(new StringReader("1123"));
    }

    
}
